<?php
/**
 * Created by PhpStorm
 * User: Jhinwy
 * Date: 2/24/25
 * Time: 3:16 PM
 */

namespace App\Http\Controllers\Api;


use Illuminate\Http\Request;
use App\Services\LadingPageService;
use App\Http\Controllers\ResourceController;

class LadingPageController extends ResourceController
{
    protected $service;

    public function __construct(LadingPageService $service)
    {
        $this->service = $service;
    }


    public function detail(Request $request)
    {
        return $this->responseWithSuccess($this->service->detail($request->get('page_no', '')));
    }

}
